package com.example.mysimpleexample.fragment;

import com.example.mysimpleexample.R;
import com.xuexiang.xpage.annotation.Page;
import com.xuexiang.xpage.base.XPageFragment;
import com.xuexiang.xui.widget.textview.supertextview.SuperTextView;

import butterknife.BindView;

@Page(name = "设置")
public class SettingFragment extends XPageFragment {
    @BindView(R.id.stv_myInfo)
    SuperTextView stvMyInfo;
    @Override
    protected int getLayoutId() {
        return R.layout.fragment_setting;
    }

    @Override
    protected void initViews() {

    }

    @Override
    protected void initListeners() {
        stvMyInfo.setOnSuperTextViewClickListener(new SuperTextView.OnSuperTextViewClickListener() {
            @Override
            public void onClick(SuperTextView superTextView) {
                openPage(MyInfoFragment.class);
            }
        });
    }
}
